

<form class="layui-form" lay-filter="layuiadmin-form-procfg" id="layuiadmin-form-procfg" style="padding: 20px 30px 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">子码</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="sp_code" value="{{ d.params.sp_code || '' }}"  placeholder="子码" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">密钥</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="apiid" value="{{ d.params.apiid || '' }}"  placeholder="密钥" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">密钥码</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="apikey" value="{{ d.params.apikey || '' }}"  placeholder="密钥码" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">账号</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="username" value="{{ d.params.username || '' }}"  placeholder="账号" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">密码</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="password" value="{{ d.params.password || '' }}"  placeholder="密码" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">服务器地址</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="host" value="{{ d.params.host || '' }}"  placeholder="服务器地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">发送地址</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="send" value="{{ d.params.send || '' }}" placeholder="发送地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">批量发送</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="batch_send" value="{{ d.params.batch_send || '' }}" placeholder="批量发送地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">查询报告</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="query_report" value="{{ d.params.query_report || '' }}"  placeholder="查询报告地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">查询上行</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="query_mo" value="{{ d.params.query_mo || '' }}" placeholder="查询上行地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">余额查询</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="query_balance" value="{{ d.params.query_balance || '' }}" placeholder="余额查询地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">回调地址</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="report_recv_url" value="{{ d.params.report_recv_url || '' }}"  placeholder="回调地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">上行回调</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="mo_recv_url" value="{{ d.params.mo_recv_url || '' }}" placeholder="上行回调地址" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">审核状态</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="radio" name="status" value="1" title="正常" {{ d.params.status == '正常' ? 'checked' : '' }}>
        <input type="radio" name="status" value="0" title="禁用" {{ d.params.status == '正常'? '' : 'checked' }}>
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-app-procfg-submit" value="立即提交" class="layui-btn">
    </div>
  </div>
</form>

<script>
layui.use(['index', 'form'], function(){
  var $ = layui.$
  ,form = layui.form;
  
})
</script>